﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.RecurringJobs.Dto
{
    /// <summary>
    /// redis请求dto
    /// </summary>
    public class RedisListDto
    {
        /// <summary>
        /// data
        /// </summary>
        public List<DataDto> Data { get; set; }

        /// <summary>
        /// datadto
        /// </summary>
        public class DataDto
        {
            /// <summary>
            /// 请求名
            /// </summary>
            public string Name { get; set; }

            /// <summary>
            /// Counts
            /// </summary>
            public CountDto Counts { get; set; }
        }

        /// <summary>
        /// Counts
        /// </summary>
        public class CountDto
        {
            /// <summary>
            /// Active
            /// </summary>
            public int? Active { get; set; }

            /// <summary>
            /// Completed
            /// </summary>
            public int? Completed { get; set; }

            /// <summary>
            /// Delayed
            /// </summary>
            public int? Delayed { get; set; }

            /// <summary>
            /// Failed
            /// </summary>
            public int Failed { get; set; }

            /// <summary>
            /// Paused
            /// </summary>
            public int Paused { get; set; }

            /// <summary>
            /// Waiting
            /// </summary>
            public int? Waiting { get; set; }
        }
    }
}
